package designs.models.visitor;

public class Undergraduate extends Student {
	double math,english;
	String name;
	public Undergraduate(String name,double math,double english) {
		this.english = english;
		this.math = math;
		this.name = name;
	}
	
	public double getMath() {
		return math;
	}

	public double getEnglish() {
		return english;
	}

	public String getName() {
		return name;
	}

	@Override
	public void accept(Visitor v) {
		v.visit(this);

	}

}
